package com.hssoftvn.android.apps.tinycouplechat;

import android.graphics.drawable.Drawable;

public class ChatUser {
	String mUsername;
	String mAvatar;
	String mPassword="password";
	public String Email="";
	public String DoB="1900";	
	public String Status="online";
	public String LastOnlineTime="0";
	public String LastLocation="0,0";
	 
	int mSex = Utils.SEX_MALE;
	
	public ChatUser(String username, String avatar, boolean isMale, int type)
	{
		mUsername = username;
		mAvatar = avatar;
		mSex = isMale? Utils.SEX_MALE:Utils.SEX_FEMALE;
	}
	
	public String getUsername()
	{
		return mUsername;
	}
	
	public Drawable getAvatar()
	{
		return Utils.getAvatarByUser(this);
	}
	public boolean IsMale(){
		return mSex==Utils.SEX_MALE;
	}
	public boolean IsFemale(){
		return mSex==Utils.SEX_FEMALE;
	}	
}
